﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Class1
    {
        static void Mmam(string[] args) {
            Console.WriteLine("输入一个数");
           string  numm = Console.ReadLine();
            double num = double.Parse(numm);
          double a= ( num % 10);
           double b = ((num / 10) % 10);
            double  c = ((num / 100) % 10);
            double d = ((num / 1000) % 10);
            Console.WriteLine("个位数是"+a);
            Console.WriteLine("十位数是" + b);
            Console.WriteLine("百位数是" + c);
            Console.WriteLine("千位数是" + d);
        }
    }
}
